<template>
    <div class="son">
        <p>内容1</p>
        <p>内容2</p>
        <slot name="header"></slot>
        <p>内容3</p>
        <p>内容4</p>
        <slot name="footer" :arr="arr"></slot>
    </div>
</template>
<script setup lang='ts'>
import { ref } from 'vue'
let arr = ref([1, 2, 3, 4, 5])
</script>
<style scoped lang="scss"></style>
